package com.example.demo.service;

import com.example.demo.Util.Result;
import com.example.demo.po.Student;
import com.example.demo.po.dto.StudentAddParam;
import com.example.demo.po.dto.StudentParam;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface StudentService {

   Result SaveStudentByAdd(StudentAddParam student);

   List<Student> SearchStudent(String name,int id);

   Result UpdateStudent( StudentParam student);
}
